home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- BackColor = &H00000000&
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "From Belgium - Europe"
- ClientHeight = 5100
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 6690
- Height = 5505
- Icon = "Form1.frx":0000
- Left = 1080
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 5100
- ScaleWidth = 6690
- ShowInTaskbar = 0 'False
- Top = 1170
- Width = 6810
- Begin VB.Timer Timer1
- Interval = 10
- Left = 90
- Top = 4455
- End
- Begin VB.Label Label5
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "stephan.swertvaegher@planetinternet.be"
- ForeColor = &H0000C000&
- Height = 195
- Left = 1935
- TabIndex = 4
- Top = 4500
- Width = 2925
- End
- Begin VB.Label Label4
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "a negative colorbar"
- ForeColor = &H00C0FFFF&
- Height = 195
- Left = 2655
- TabIndex = 3
- Top = 3330
- Width = 1365
- End
- Begin VB.Label Label3
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Label3"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00800000&
- Height = 195
- Left = 135
- TabIndex = 2
- Top = 2340
- Width = 585
- End
- Begin VB.Label Label2
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Label2"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 18
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H000000FF&
- Height = 435
- Left = 180
- TabIndex = 1
- Top = 1305
- Width = 1200
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "This is very colorfull !"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 18
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FFFF&
- Height = 435
- Left = 1575
- TabIndex = 0
- Top = 135
- Width = 3735
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Form_Load()
- Call ColBar(Form1, 0, 50, 64, 0, 64, 255, 5, 200)
- Call ColBar(Form1, 82, 40, 40, 24, 200, 255, 255, 255)
- Call ColBar(Form1, 141, 40, 40, 24, 40, 255, 155, 155)
- Call ColBar(Form1, 200, 60, 255, 184, 255, 55, 55, 140) 'negative colorbar!
- Call ColBar(Form1, 280, 20, 40, 24, 40, 255, 255, 40)
- Call ColBar(Form1, 314, 20, 40, 24, 40, 255, 255, 40)
- Label2.Caption = "This is how to show you a cool graphic effect with a scrolltext. And it's all done with one module !"
- Label3.Caption = "A small piece of coding, nothing special, but a great result !"
- Label2.Left = Form1.ScaleWidth
- Label3.Left = Form1.ScaleWidth
- End Sub
- Private Sub Timer1_Timer()
- Label2.Left = Label2.Left - 2
- If Label2.Left < Label2.Width * -1 Then Label2.Left = Form1.ScaleWidth
- Label3.Left = Label3.Left - 1
- If Label3.Left < Label3.Width * -1 Then Label3.Left = Form1.ScaleWidth
- End Sub
-